﻿using System;
using UnityEngine;

/// <summary>游戏开始 </summary>
public class GameFirstSetup : MonoBehaviour
{
	// Token: 0x06000E23 RID: 3619 RVA: 0x00058790 File Offset: 0x00056990
	private void Awake()
	{
		CustomDataManager.multiplayBlendShader_2 = this.multiplayBlendShader_2;
		CustomDataManager.multiplayBlendShader_3 = this.multiplayBlendShader_3;
		CustomDataManager.multiplayBlendShader_6 = this.multiplayBlendShader_6;
		CustomDataManager.normalBlendShader_2 = this.normalBlendShader_2;
		CustomDataManager.normalAddShader_2 = this.normalAddShader_2;
		CustomDataManager.hsvOffset = this.hsvOffset;
		CustomDataManager.skinBlendShader_Body = this.skinBlendShader_Body;
		CustomDataManager.skinBlendShader_Face = this.skinBlendShader_Face;
		CustomDataManager.skinBlendShader_Male = this.skinBlendShader_Male;
		CustomDataManager.Setup();
		GlobalData.CheckMapNames();
		GlobalData.PlayData = new GamePlayData();
		GlobalData.PlayData.Start();
		ColorPaletteData.Load();
		GlobalData.Load();
		ConfigData.Load();
		MaterialCustomData.Load();
	}

	// Token: 0x06000E24 RID: 3620 RVA: 0x00058834 File Offset: 0x00056A34
	private void OnDestroy()
	{
		ConfigData.Save();
	}

	// Token: 0x04000EA0 RID: 3744
	[SerializeField]
	private Shader multiplayBlendShader_2;

	// Token: 0x04000EA1 RID: 3745
	[SerializeField]
	private Shader multiplayBlendShader_3;

	// Token: 0x04000EA2 RID: 3746
	[SerializeField]
	private Shader multiplayBlendShader_6;

	// Token: 0x04000EA3 RID: 3747
	[SerializeField]
	private Shader normalBlendShader_2;

	// Token: 0x04000EA4 RID: 3748
	[SerializeField]
	private Shader normalAddShader_2;

	// Token: 0x04000EA5 RID: 3749
	[SerializeField]
	private Shader hsvOffset;

	// Token: 0x04000EA6 RID: 3750
	[SerializeField]
	private Shader skinBlendShader_Body;

	// Token: 0x04000EA7 RID: 3751
	[SerializeField]
	private Shader skinBlendShader_Face;

	// Token: 0x04000EA8 RID: 3752
	[SerializeField]
	private Shader skinBlendShader_Male;
}
